home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
ACORNUSERS
/
CBSA
/
EDUCATION
/
WINDOW
/
h
/
Template
< prev
next >
Wrap
Text File
|
1998-03-28
|
704b
|
51 lines
// ------------------------------
// Template.h
// ------------------------------
#ifndef TEMPLATE_H
#define TEMPLATE_H
#include <iostream.h>
#include "WimpError.h"
class Template
{
public:
struct Entry
{
int offset ;
int size ;
int type ;
char name[13] ;
char *data ; // window data
Entry *next ;
};
struct DataFont
{
xsize;
ysize;
char name[48];
};
private:
Entry *templates;
int font_offset;
DataFont font;
public:
Template (char *);
Template ();
~Template();
Entry & operator[] (const char *) const;
void operator << (const Entry &);
void save(char *);
void list(ostream & = cout);
};
#endif